package edu.avans.hartigehap.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "WEBDISH")
public abstract class WebDish implements Serializable{

	private static final long serialVersionUID = 1L;
	private Long id;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "WEBDISH_ID")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Transient
	public abstract BigDecimal getPrice();
	@Transient
	public abstract void setPrice(BigDecimal price);
	@Transient
	public abstract String getDishName();
	@Transient
	public abstract void setDishName(String dishName);
	@Transient
	public abstract BigDecimal getTotalPrice();
	@Transient
	public abstract String getTotalName();
}
